package homework_04.home_05;

public class HomeWork_05 {
    /*输出一个double型二维数组（长度分别为5、4，值自己设定）的值。*/
    public static void main(String[] args) {
        double [][] a={{1,2,3,4},{4,3,2,1},{5,6,7,8},{4,5,6,7},{7,8,9,4}};
        print(a);
    }
    public static void print(double[][]a){
        for (int i=0;i<a.length;i++){
            for (int j=0;j<a[0].length;j++){
                System.out.print(a[i][j]+"  ");
            }
            System.out.println();
        }
    }
}
